package org.springblade.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目客户满意度表
 */
@Data
@TableName("blade_pm_client_satisfaction")
@EqualsAndHashCode
public class ClientSatisfaction implements Serializable{
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private Integer id;
	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id")
	private Integer	projectId;

	/**
	 * 客户联系人
	 */
	@ApiModelProperty(value = "客户联系人")
	private String clientName;
	/**
	 * 客户意见
	 */
	@ApiModelProperty(value = "客户意见")
	private String clientOpinion;
	/**
	 * 领导建议
	 */
	@ApiModelProperty(value = "领导建议")
	private String leaderOpinion;

	/**
	 * 提出时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "提出时间")
	private Date proposalTime;
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
	private Integer createUser;
}
